import java.util.Random;

public class Text1 {
    public static void main(String[] args) {
        Random rand = new Random();
        int digit = rand.nextInt(11);
        System.out.println("digit = " + digit);
        if(digit == 10 || digit == 0) {
            System.out.println("一等奖");
        }
        else if (digit == 2 || digit == 6 || digit == 8 || digit == 9) {
            System.out.println("二等奖");
        }
        else {
            System.out.println("谢谢参与");
        }
    }
}
